package sz.szsmk.citizencard.mvp;

import sz.szsmk.citizencard.model.network.bean.response.BaseBean;
import sz.szsmk.citizencard.model.network.bean.response.CheckAcardRes;
import sz.szsmk.citizencard.model.network.bean.response.CheckIsChargeRes;
import sz.szsmk.citizencard.model.network.bean.response.CheckUserEcityRes;
import sz.szsmk.citizencard.model.network.bean.response.CheckVirCakeBeanRes;
import sz.szsmk.citizencard.model.network.bean.response.QRCodeBean;
import sz.szsmk.citizencard.model.network.bean.response.QuerLeisureCardsInfoRes;
import sz.szsmk.citizencard.model.network.bean.response.QueryLeisureCardRes;
import sz.szsmk.citizencard.model.network.bean.response.SeleciUserAuthRes;
import sz.szsmk.citizencard.model.network.bean.response.ValidCardAuthorizationRes;
import sz.szsmk.citizencard.model.network.dzbean.res.CheckIsRealNameRes;
import sz.szsmk.citizencard.model.network.dzbean.res.GetOpenIdRes;
import sz.szsmk.citizencard.model.network.dzbean.res.QueryDzsmkAgreeMentRes;

/**
 * Created by yangzhengwen on 2017/10/2.
 */

public interface IdentityCodeMvpView extends MvpView {
    void success(QRCodeBean response);

    void fail();

    void onGainQrCodeException(String errorMsg);

    void queryAllcardsFail(QueryLeisureCardRes response);

    void queryAllcardsSucc();

    void queryLeisureSucc(QuerLeisureCardsInfoRes response);

    void queryLeisureFail(QuerLeisureCardsInfoRes response);

    void checkUserEcityFail(BaseBean response);

    void checkUserEcitySucc(CheckUserEcityRes response);

    void queryAcardFail(CheckAcardRes response);

    void queryAcardSucc(CheckAcardRes response);

    void validCardAuthorizationFail(ValidCardAuthorizationRes response);

    void validCardAuthorizationSucc(ValidCardAuthorizationRes response);

    void selectUserAuthSucc(SeleciUserAuthRes response);

    void selectUserAuthFail(SeleciUserAuthRes response);

    void getOpenIdSucc(GetOpenIdRes response);

    void getOpenIdFail(GetOpenIdRes response);

    void queryDzsmkAgreementSucc(QueryDzsmkAgreeMentRes response, String openId);

    void queryDzsmkAgreementFail(QueryDzsmkAgreeMentRes response);

    void checkIsOpenElecCardSucc(CheckIsRealNameRes preAuthRes);

    void checkIsOpenElecCardFail(CheckIsRealNameRes preAuthRes);

    void checkIsChargeSucc(CheckIsChargeRes ibaseBean);

    void preAuthSucc();

    void preAuthFail();

    void getUploadPic();

    void onIsOpenPayCodeSuccess(CheckVirCakeBeanRes bean);

}
